package com.epoch.servicetest.test;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Configuration;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Configuration
public class TeacherExam {
    /**
     * 用户编号
     */
    @NotBlank(message = "用户编号不能为空")
    private String csId;
    /**
     * 试卷编号
     */
    @NotBlank(message = "试卷编号不能为空")
    private String examId;
    /**
     * 上传时间
     */
    private String updateTime;
    /**
     * 试卷状态
     */
    private String status;
    /**
     * 做题人数
     */
    private String num;
    /**
     * 用户
     */
    private Consumer consumer;
    /**
     * 试卷
     */
    private Exam exam;
    /**
     * 类型
     */
    private Type type;
}
